import LayoutVue from '@/components/layout/Layout.vue'

export default {
  path: '/systemConfig',
  component: LayoutVue,
  redirect: '/systemConfig/userManage',
  meta: {
    title: '系统配置',
    c_icon: 'icon-system',
    menu: true,
    url: 'system',
  },
  children: [
    {
      path: 'userManage',
      name: 'userManage',
      component: () => import('@/views/manageEnd/SystemConfig/UserManage/UserManage.vue'),
      meta: { title: '用户管理', url: 'system/user' },
    },
    {
      path: 'roleConfig',
      name: 'roleConfig',
      component: () => import('@/views/manageEnd/SystemConfig/RoleConfig/RoleConfig.vue'),
      meta: { title: '角色配置', url: 'system/role' },
    },
    {
      path: 'typeConfig',
      name: 'typeConfig',
      component: () => import('@/views/manageEnd/SystemConfig/TypeConfig/TypeConfig.vue'),
      meta: { title: '系统配置', url: 'system/config' },
    },
  ],
}
